/* 全文复习页面样式 */

.fulltext-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    color: white;
}

.fulltext-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.fulltext-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.home-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.home-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* 分类标签样式 */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 1rem;
    font-weight: 500;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 文章网格样式 */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.articles-grid.hidden {
    display: none;
}

.article-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: 2px solid transparent;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(102, 126, 234, 0.3);
}

.article-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.article-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-card .author {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 0.8rem;
    font-style: italic;
}

.article-card .description {
    font-size: 0.9rem;
    color: #95a5a6;
    line-height: 1.4;
}

/* 文章详情样式 */
.article-details {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

.article-details.hidden {
    display: none;
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #f0f0f0;
}

.article-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.article-title h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-title .author-info {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-style: italic;
}

.close-btn {
    background: #e74c3c;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.article-content {
    line-height: 2.2;
    font-size: 1.2rem;
    color: #2c3e50;
    text-align: left;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 5px solid #667eea;
    margin-bottom: 2rem;
}

.article-content .verse {
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.article-content .verse:last-child {
    margin-bottom: 0;
}

/* 词汇悬停提示样式 */
.word-tooltip {
    position: relative;
    color: #667eea;
    font-weight: 600;
    cursor: help;
    border-bottom: 2px dotted #667eea;
    transition: all 0.3s ease;
}

.word-tooltip:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: normal;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 5px;
}

.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #2c3e50;
}

.word-tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
}

/* 重难点句子翻译样式 */
.key-sentences {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.key-sentences h3 {
    color: #856404;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.sentence-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
}

.sentence-item:last-child {
    margin-bottom: 0;
}

.original-sentence {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.translation {
    color: #555;
    font-style: italic;
    line-height: 1.6;
}

/* 核心思想样式 */
.core-theme {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.core-theme h3 {
    color: #0c5460;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.core-theme p {
    line-height: 1.8;
    color: #155724;
    margin-bottom: 1rem;
}

.article-analysis {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1.5rem;
}

.article-analysis h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.article-analysis p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .fulltext-header {
        margin-bottom: 1.5rem;
    }
    
    .home-btn {
        position: static;
        margin-top: 1rem;
    }
    
    .category-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .article-card {
        padding: 1.5rem;
    }
    
    .article-details {
        padding: 1.5rem;
    }
    
    .article-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .article-title h2 {
        font-size: 1.8rem;
    }
    
    .article-content {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
    
    .tooltip-content {
        white-space: normal;
        max-width: 200px;
    }
} 